package com.fbs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class WallVo {
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishdate;
    private String details;
    private String[] img;
    private String remark;

    public WallVo(Integer id, Date publishdate, String details, String[] img, String remark) {
        this.id = id;
        this.publishdate = publishdate;
        this.details = details;
        this.img = img;
        this.remark = remark;
    }
}
